<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> 


<% 
	String path = request.getContextPath(); 
	String basePath = request.getScheme()+"://"+request.getServerName()
		+":"+request.getServerPort()+path+"/"; 
 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<script type="text/javascript" src="<%=basePath%>js/jquery-1.4.2.min.js"></script>
<link href='<%=basePath%>extend/css/print.css' rel="stylesheet"/>
<title>二手车组织结构返利季度考核表</title>
</head>
<body class="content">
<div class="title">
	<h1>二手车组织结构返利季度考核表</h1>
	<div class="time_label"></div>
	<!-- <button id="bt_export" class="btn_print hidden-print" type="button">打印</button> -->
</div>
<table class="table-grid">
	<colgroup>
		<col width="4%" />
		<col width="6%" />
		<col width="6%" />
		<col width="4%" />
		<col width="4%" />
		<col width="4%" />
		<col width="4%" />
		<col width="4%" />
		<col width="8%" />
		<col width="8%" />
		<col width="8%" />
		<col width="8%" />
		<col width="8%" />
		<col width="16%" />
		<col width="8%" />
	</colgroup>
	<thead>
		<tr>
			<th colspan="8">区域：${pubmap.area}</th>
			<th colspan="7">时间：${pubmap.year}年 ${pubmap.quarter}</th>
		</tr>
		<tr>
			<th rowspan="4">序号</th>
			<th rowspan="4">经销商代码</th>
			<th rowspan="4">全年RD目标</th>
			<th colspan="10">考核项（符合请打"Y",不符合请打"N")</th>
			<th rowspan="4">当季度二手车组织结构返利获得（满足所有考核项选"Y",反之选"N")</th>
			<th rowspan="4">备注</th>
		</tr>
		<tr>
			<th colspan="5">按要求配备二手车人员</th>
			<th rowspan="3">业务配合度</th>
			<th rowspan="3">二手车业务能力<br />（置换/认证/回购）</th>
			<th rowspan="3">返利材料申报<br />（准时、完整、准确）</th>
			<th rowspan="3">参加培训并通过考核<br />（由总部填写）</th>
			<th rowspan="3">开展市场活动</th>
		</tr>
		<tr>
			<th colspan="2">二手车评估检测技师</th>
			<th colspan="2">二手车经理</th>
			<th>二手车信息员</th>
		</tr>
		<tr>
			<th>专职</th>
			<th>兼职</th>
			<th>专职</th>
			<th>兼职</th>
			<th>专职</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${itemlist}" var="item" varStatus="status">
		<tr>
			<td>${status.count}</td>
			<td>${item.pk_dealer_code}</td>
			<td>${item.target_num}</td>
			<td>${item.full_time1}</td>
			<td>${item.part_time}</td>
			<td>${item.full_time2}</td>
			<td>${item.def2}</td>
			<td>${item.full_time3}</td>
			<td>${item.business_degree}</td>
			<td>${item.business_ability}</td>
			<td>${item.commit}</td>
			<td>${item.training}</td>
			<td>${item.def3}</td>	
			<td>${item.result}</td>	
			<td>${item.remark}</td>		
		</tr>
		</c:forEach>
	</tbody>
</table>
<table class="table-grid">
	<colgroup>
		<col width="15%" />
		<col width="35%" />
		<col width="15%" />
		<col width="35%" />
	</colgroup>
	<tfoot>
		<tr>
			<td colspan="4">&nbsp;</td>
		</tr>
		<tr>
			<td colspan="4">&nbsp;</td>
		</tr>
		<tr>
			<td align="right">签名：</td>
			<td>________________________________</td>
			<td align="right">签名：</td>
			<td>________________________________</td>
		</tr>
		<tr>
			<td></td>
			<td style="padding-left:3em;">区域大客户与二手车经理</td>
			<td></td>
			<td style="padding-left:6em;"></td>
		</tr>
		<tr>
			<td colspan="4">&nbsp;</td>
		</tr>
		<tr>
			<td align="right">日期：</td>
			<td>________________________________</td>
			<td align="right">日期：</td>
			<td>________________________________</td>
		</tr>
	</tfoot>
</table>
</body>
<script type="text/javascript">
$(document).ready(function(){
	//$("#bt_export").click(function(){
		//$(this).hide();
		var myDate = new Date();
		var Week = ['日','一','二','三','四','五','六'];  
	    str = '星期' + Week[myDate.getDay()];
		var mytime=myDate.getYear()+"-"+myDate.getMonth()+"-"+myDate.getDate()+"&nbsp;"+myDate.getHours()+":"+myDate.getMinutes()+":"+myDate.getSeconds()+"&nbsp;"+str;
		//$(".time_label").html(mytime);
		//$(".time_label").show();
		window.print();
	//});
});
</script>
</html>
